'use strict'

var Mysql = require('node-mysql-promise');
var db = Mysql.createConnection({
  host        : 'localhost',
  user        : 'root',
  password    : '123456',
  database    : 'news',
  tablePrefix : 'news_',
  charset     : "UTF8",
  logSql      : true,
  port        :3306,
  // socketPath: '/Applications/MAMP/tmp/mysql/mysql.sock'	// 你们不用加

});

module.exports = db;
